package cn.wl.pchart.entity;

/**
 * 聊天的信息
 */
public class Message {
    // 消息id
    private String mid = null;
    // 消息来源id
    private String from = null;
    // 消息目标用户id
    private String to = null;
    // 消息发送时间
    private String time = null;
    // 消息内容
    private String data = null;

    // 消息来源者的头像
    private String img = null;

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }
}
